/**
 * Copyright (C) 2016 Hyphenate Inc. All rights reserved.
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.srwl.mytx;

public class Constant extends EaseConstant {
    public static final String NEW_FRIENDS_USERNAME = "item_new_friends";
    public static final String GROUP_USERNAME = "item_groups";
    public static final String CHAT_ROOM = "item_chatroom";
    public static final String ACCOUNT_REMOVED = "account_removed";
    public static final String ACCOUNT_CONFLICT = "conflict";
    public static final String CHAT_ROBOT = "item_robots";

    public static final String ACTION_GROUP_CHANGED = "action_group_changed";
    public static final String ACTION_CONTACT_CHANGED = "action_contact_changed";
    public static final String ACTION_CONTACT_GROUP_MODEL_CHANGED = "action_contact_group_model_changed";//分组模式改变
    public static final String ACTION_TOPIC_EDIT_CHANGED = "action_topic_edit_changed";

    //管理员移交
    public static final String ACTION_TOPIC_MANAGER_TRANSFER = "ACTION_TOPIC_MANAGER_TRANSFER";
    //管理员移除（放弃管理员权限）
    public static final String ACTION_TOPIC_MANAGER_REMOVE = "ACTION_TOPIC_MANAGER_REMOVE";
    public static final String ACTION_RESULT_LOCATION = "action_request_location";
    public static final String ACTION_FOUND_COUPON = "ACTION_FOUND_COUPON";
    public static final String ACTION_NEW_COUPON = "ACTION_NEW_COUPON";
    public static final String ACTION_RECEIVED_TASK_MESSAGE = "ACTION_RECEIVED_TASK_MESSAGE";

    public static final String ACTION_AUTO_LOGIN_SUCCESS = "ACTION_AUTO_LOGIN_SUCCESS";//自动登录
    public static final String ACTION_HEAD_LOAD = "ACTION_HEAD_LOAD";//头像加载完成
    //当登录用户信息改变
    public static final String ACTION_LOGIN_USER_INFO_CHANGE = "ACTION_LOGIN_USER_INFO_CHANGE";


    //---------------------------------------------------- 推送信息细分类型
    public static final int PUSH_MESSAGE_REQUEST_ADD_CONTACT = 0;//推送信息：请求成为好友，消息接收者同意或者拒绝，做出处理
    public static final int PUSH_MESSAGE_ACCEPT_ADD_CONTACT = 1;//接受好友请求，，只提示，消息接收者无须做进一步处理
    public static final int PUSH_MESSAGE_REFUSE_ADD_CONTACT = 2;// 拒绝好友请求，，只提示，消息接收者无须做进一步处理
    public static final int PUSH_MESSAGE_REFUSE_BINDING_CONTACT = 3;//授权用户绑定账号成功后,刷新好友的列表
    public static final int PUSH_MESSAGE_DELETE_CONTACT = 11;
    public static final int PUSH_MESSAGE_CONTACT_INFO_CHANGE = 12;
    public static final int PUSH_MESSAGE_LOCATION_REQUEST = 13;
    public static final int PUSH_MESSAGE_LOCATION_RESULT = 14;
    public static final int PUSH_MESSAGE_SYNC_USER_INFO = 15;
    public static final int PUSH_MESSAGE_CONTACT_USER_INFO_CHANGE = 16;
    public static final int PUSH_MESSAGE_ADVERTISEMENT_OFFER_SUCCESS = 17;//广告位竞价成功
    public static final int PUSH_MESSAGE_OFFER_FAIL = 18;
    public static final int PUSH_MESSAGE_SYSTEM_MESSAGE = 19;
    public static final int PUSH_MESSAGE_PERSON_RECEIVED_DONATION = 20;
    public static final int PUSH_MESSAGE_PERSON_RECEIVED_FORWARD = 21;
    public static final int PUSH_MESSAGE_NEW_TOPIC = 22;
    public static final int PUSH_MESSAGE_FOUND_COUPON = 23;
    public static final int PUSH_MESSAGE_OFFER_TO_TOPIC_SUCCESS = 24;
    public static final int PUSH_MESSAGE_OFFER_TO_TOPIC_FAIL = 25;
    public static final int PUSH_MESSAGE_ORDER_CANCEL = 26;
    public static final int PUSH_MESSAGE_ORDER_RECEIVE = 27;
    public static final int PUSH_MESSAGE_ORDER_REFUND = 28;
    public static final int PUSH_MESSAGE_ORDER_AGREE_REFUND = 29;
    public static final int PUSH_MESSAGE_ORDER_REFUSE_REFUND = 30;
    public static final int PUSH_MESSAGE_ORDER_INFO = 31;
    //提现推送消息
    public static final int PUSH_MESSAGE_APPLY_WITHDRAW = 32;//提现申请推送消息
    public static final int PUSH_MESSAGE_WITHDRAW_COMPLETE = 33;//提现完成推送消息
    //悬赏相关推送分类
    public static final int PUSH_MESSAGE_TASK_INFO = 35;

    //地区 行业 学校类型的主题需要核准的推送分类  推送给管理员
    public static final int PUSH_MESSAGE_TOPIC_VERIFY = 37;
    //广告位保证金不足
    public static final int PUSH_MESSAGE_ADVERTISEMENT_DEPOSIT_NOT_ENOUGH = 38;
    //广告位需要设置展示内容
    public static final int PUSH_MESSAGE_ADVERTISEMENT_NEED_SET_SHOW_CONTENT = 39;
    //直播间举报推送信息，接收者为该直播间管理员或者是直播间超级管理员
    public static final int PUSH_MESSAGE_LIVE_ACCUSATION = 40;
    //直播间错误报告 接收者为该直播间管理员或者是直播间超级管理员
    public static final int PUSH_MESSAGE_LIVE_ERROR_REPORT = 41;


    //主题管理权限移交推送消息
    public static final int APPLY_AUTHORITY_TRANSFER = 0;
    public static final int ACCEPT_AUTHORITY_TRANSFER = 1;

    //------------------------------------------------------------ 通知消息状态：普通的通知信息，只有两种状态，已读和未读，要求信息有4种状态：未读、已读、已同意、已拒绝
    public static final int NOTIFY_MESSAGE_STATUS_UNREAD = 0;//未读
    public static final int NOTIFY_MESSAGE_STATUS_READED = 1;//已读
    public static final int INVITE_MESSAGE_STATUS_APPLY = 2;//好友请求申请
    public static final int INVITE_MESSAGE_STATUS_AGREED = 3;//请求添加好友 已同意
    public static final int INVITE_MESSAGE_STATUS_REFUSED = 4;//请求添加好友 已拒绝


    public static final String MESSAGE_LONG_CLICK_DIALOG_ITEM_COPY = "复制";
    public static final String MESSAGE_LONG_CLICK_DIALOG_ITEM_DELETE = "删除";
    public static final String MESSAGE_LONG_CLICK_DIALOG_ITEM_FORWARD = "转发";
    public static final String MESSAGE_LONG_CLICK_DIALOG_ITEM_RECALL = "撤回";

    //------------------------------------------------------联系人状态
    public static final String CONTACT_STATUS_MUTUAL = "0";//状态为0，在redis中表示添加联系人请求被拒绝，在mysql中表示联系人已经删除
    public static final String CONTACT_STATUS_ACTIVE_DELETE = "1";//单边的联系人关系，一方已经被另一方从联系人中删除，主动添加方删除对方
    public static final String CONTACT_STATUS_PASSIVE_DELETE = "2";//单边的联系人关系，一方已经被另一方从联系人中删除，被动添加方删除对方
    public static final String CONTACT_HAVE_AUTHORITY = "1";
    public static final String CONTACT_NO_AUTHORITY = "0";
    // 联系人类型
    public static final int CONTACT_TYPE_NORMAL = 0; //普通状态
    public static final int CONTACT_TYPE_TEMP = 1; //表示临时联系人  在服务端 并没有保存进Contact 表


    public static final String INVITE_TYPE_AUDIO_CALL = "voice_call";
    public static final String INVITE_TYPE_VIDEO_CALL = "video_call";


    public static final String ACTION_ON_INVITE_RECEIVED = "onInviteReceived";
    public static final String ACTION_CHANNEL_QUERY_USER_NUM_RESULT = "channel_query_user_num";
    public static final String ACTION_ON_INVITE_RECEIVED_BY_PEER = "onInviteReceivedByPeer";
    public static final String ACTION_ON_INVITE_ACCEPTED_BY_PEER = "onInviteAcceptedByPeer";
    public static final String ACTION_ON_INVITE_END_BY_PEER = "onInviteEndByPeer";
    public static final String ACTION_ON_LIVE_ROOM_ADVERTISEMENT_PRICE_CHANGE = "onMessageChannelReceive";
    public static final String ACTION_ON_LOGIN_SUCCESS = "onRestLoginSuccess";
    //音视频通话出错
    public static final String ACTION_ON_CALL_ERROR = "ACTION_ON_CALL_ERROR";
    //语音通话已链接
    public static final String ACTION_ON_AUDIO_CONNECT = "ACTION_ON_AUDIO_CONNECT";
    //对方已经挂断语音通话
    public static final String ACTION_ON_HANG_UP = "ACTION_ON_HANG_UP";
    public static final String ACTION_ON_CALL_CANCEL = "ACTION_ON_CALL_CANCEL";
    //通话请求被拒绝
    public static final String ACTION_ON_CALL_BE_REFUSE = "ACTION_ON_CALL_BE_REFUSE";
    //对方线路繁忙
    public static final String ACTION_ON_CALL_BUSY = "ACTION_ON_CALL_BUSY";

    public final static String ACTION_MESSAGE_FOR_CONTACT = "action_message_for_contact";
    public static final String ACTION_PUSH_MESSAGE_REFRESH = "ACTION_PUSH_MESSAGE_REFRESH";
    public static final String ACTION_USER_INFO_CHANGE = "USER_INFO_CHANGE";


    //  -----------------------------------------------------------红包状态
    public static final int COUPON_STATUS_EXPIRED = -1;//红包已经过期
    public static final int COUPON_STATUS_RECEIVABLE = 0;//红包未领取
    public static final int COUPON_STATUS_RECEIVED = 1;//红包已经领取
    public static final int COUPON_STATUS_REMAIN_ZERO = 2;//一对多红包已经领完

    //-----------------------------------------------------
    public static final int COUPON_TYPE_ALI_FUND = 0;//支付宝红包
    public static final int COUPON_TYPE_SINGLE = 1;//蚂蚁金币一对一红包
    public static final int COUPON_TYPE_MULTIPLE_AVERAGE = 2;//蚂蚁金币一对多红包:平均红包
    public static final int COUPON_TYPE_MULTIPLE_RANDOM = 3;//蚂蚁金币一对多红包:随机金额红包
    public static final int COUPON_TYPE_CHILD_RANDOM = 4;//随机金额子红包
    public static final int COUPON_TYPE_CHILD_AVERAGE = 5;//平均金额子红包

    //----------------------------------------------------------------返回码
    //UserService 返回码
    public static final int SEND_MOBILE_CODE_FAIL_HAVE_NO_COUNT = 0;
    //号码已经被使用，无法使用该号码注册
    public static final int SEND_MOBILE_CODE_FAIL_ENGAGED = 2;
    //手机号无效，找不到这个手机号，该手机号没绑定任何账户
    public static final int PHONE_NUMBER_INVALID = 3;

    //手机号格式错误
    public static final int PHONE_NUMBER_FORMAT_ERROR = 4;

    public static final int MOBILE_CODE_EXPIRE = 1000;
    public static final int MOBILE_CODE_ERROR = 1001;
    //密码无效
    public static final int PASS_WORD_WRONG = 1002;
    public static final int USER_NAME_INVALID = 1003;
    //token无效
    public static final int TOKEN_INVALID = 1004;

    //手机号无效 找不到对应的手机号
    public static final int MOBILE_INVALID = 1006;
    public static final int REFUSE_ADD_CONTACT = 1007;
    public static final int REFUSE_ADD_CONTACT_IS_HAVE = 1049;
    //验证码已经被使用
    public static final int MOBILE_CODE_USED = 1008;
    public static final int NO_AUTHORITY = 1009;
    public static final int NOT_HAVE_MORE_CHILD_CONTACT = 1010;
    public static final int VALIDATE_SIGN_FAIL = 1011;
    //---------------------------------------
    //AliService 返回码
    public static final int GET_LOCK_FAIL = 1015;
    //发红包出错
    public static final int FUND_COUPON_EOOR = 1016;

    //现金优惠券（红包）已经过期，
    public static final int FUND_COUPON_STATUS_EXPIRED = 1017;
    //现金优惠券（红包）接收人不匹配
    public static final int FUND_COUPON_TARGET_USER_MISMATCHING = 1018;
    //---------------------------------------
    //出错:未知错误
    public static final int UNKNOWN_ERROR = 1019;
    //转发捐款没有权限
    public static final int DONATION_FORWARD_NO_AUTHORIZATION = 1020;
    //捐款转发重复
    public static final int DONATION_FORWARD_REPEAT = 1021;
    public static final Integer RETURN_HTTP_STATUS_ALI_USER_EXIST = 201; //表示支付宝账户已经被绑定了
    //转发捐款列表为空
    public static final int DONATION_FORWARD_NO_DATA = 1022;
    // 已经有支付密码了，不能直接覆盖，只能携带旧支付密码重新设置
    public static final int SETUP_PAY_PASSWORD_REPEAT = 1023;
    //支付密码错误
    public static final int PAY_PASSWORD_ERROR = 1024;

    //登录次数超过限制
    public static final int LOGIN_ERROR_LIMIT = 1025;

    //24小时限制--限制通过登录密码修改绑定手机号
    public static final int FORBID_MODIFY_PHONE_NUMBER_24 = 1026;
    //24小时限制--限制通过 登录密码重置支付密码
    public static final int FORBID_MODIFY_PAY_PASSWORD_24 = 1027;

    //通过登录密码找回 支付密码，连续提交错误的 登录密码
    public static final int RETRIEVE_PAY_PASSWORD_ERROR_LIMIT = 1028;
    //缺少支付密码
    public static final int NO_PAY_PASSWORD = 1029;
    //支付前需要先设置支付密码
    public static final int NEED_SETUP_PAY_PASSWORD_BEFORE = 1030;
    //当前出价低于原始出价
    public static final int OFFER_ERROR_AMOUNT_LOWER = 1031;
    //拍卖没有开始
    public static final int OFFER_ERROR_NOT_START = 1032;

    //拍卖已经结束
    public static final int OFFER_ERROR_HAD_STOPED = 1033;
    //非法访问
    public static final int ILLEGAL_ACCESS = 1035;
    //订单无效
    public static final int ORDER_INVALID = 1036;
    //订单状态错误
    public static final int ORDER_STATUS_ERROR = 1037;

    //主题状态错误
    public static final int TOPIC_STATUS_ERROR = 1038;
    //悬赏任务不存在
    public static final int REWARD_TASK_INVALID = 1039;
    //悬赏任务状态错误
    public static final int REWARD_TASK_STATUS_ERROR = 1040;
    //对某个悬赏已经领取了任务，不能重复领取
    public static final int REWARD_TASK_RECEIVED = 1041;

    //悬赏主题任务还有任务未完成
    public static final int REWARD_TOPIC_STATUS_ERROR = 1044;

    //悬赏主题任务已经取消了
    public static final int REWARD_TOPIC_ALREADY_CANCEL = 1045;
    //悬赏主题任务已经删除了
    public static final int REWARD_TOPIC_ALREADY_DELETE = 1046;
    //参数无效
    public static final int PARAMETER_INVALID = 1047;

    //捐赠拆回状态错误
    public static final int DONATION_STATUS_ERROR = 1048;

    //主题类型错误
    public static final int TOPIC_TYPE_ERROR = 1049;

    //广告位状态错误
    public static final int ADVERTISEMENT_STATUS_ERROR = 1050;
    //广告位更新限制
    public static final int ADVERTISEMENT_UPDATE_LIMIT = 1051;

    //es文档Id无效
    public static final int DOC_ID_INVALID = 1052;

    //评论数量更新失败
    public static final Integer COMMENT_SIZE_UPDATED_FAILED = 1053;

    //创建焦点限制，每人人只能是一个焦点的管理员
    public static final int CREATED_LIVE_ROOM_LIMIT = 1054;

    //LiveService 返回码
    //别人已经占用直播间了
    public static final int LIVE_ROOM_HAD_STARTED = 7000;
    //余额不足
    public static final int BALANCE_NOT_ENOUGH = 7001;
    //余额被锁住
    public static final int BALANCE_HAD_LOCK = 7002;
    //广告位竞争出价失败，获取锁失败
    public static final int OFFER_BUSY = 7003;
    //直播状态错误
    public static final int LIVE_STATUS_ERROR = 7005;
    //红包已经领取
    public static final int RECEIVE_COUPON_ERROR_RECEIVED = 8000;
    //红包已经领完
    public static final int RECEIVE_COUPON_ERROR_REMAIN_ZERO = 8001;


    //-------------------------------------------  阿里im透传消息
    public static final int ALI_IM_MESSAGE_TYPE_TRANSPARENT_MESSAGE = 1;


    //--------------------------------------------intent 携带信息 key
    public static final String EXTRA_INFO_COUPON = "EXTRA_INFO_COUPON";
    public static final String EXTRA_INFO_CHILD_COUPON = "EXTRA_INFO_CHILD_COUPON";
    public static final String EXTRA_INFO_FORWARD_MESSAGE = "forward_message";
    public static final String EXTRA_INFO_TOPIC = "topic";
    public static final String EXTRA_INFO_LIVE_ROOM = "liveRoom";
    public static final String EXTRA_INFO_ORDER = "EXTRA_INFO_ORDER";
    public static final String EXTRA_INFO_TASK = "EXTRA_INFO_TASK";
    public static final String EXTRA_INFO_TRANSFER = "EXTRA_INFO_TRANSFER";
    public static final String EXTRA_INFO_FORWARD = "forward";
    public static final String EXTRA_INFO_VIDEO_PATH = "video_path";
    public static final String EXTRA_INFO_FRAME_PICTURE_PATH = "frame_picture_path";
    public static final String EXTRA_INFO_IS_SHOW_FANS = "IS_SHOW_FANS";
    public static final String EXTRA_TRANSFER_INFO = "EXTRA_TRANSFER_INFO";
    public static final String REFRESH_TOPIC = "refreshTopic";
    public static final String SYNC_USER_INFO = "asyncUserInfo";//同步用户信息
    public static final String EXTRA_INFO_MESSAGE = "EXTRA_INFO_MESSAGE";


//----------------------------------------------主题类型

    public static final int TOPIC_TYPE_LOST_PEOPLE = 0;//找人  该类型可设置悬赏金，可接受捐赠，受赠金额经主题发布者确认后，给到符合条件的线索提供者
    public static final int TOPIC_TYPE_REWARD = 1;//悬赏  该类型可设置悬赏金，可接受捐赠，受赠金额经主题发布者确认后，给到符合条件的线索提供者
    public static final int TOPIC_TYPE_FOUND = 2;//招领
    public static final int TOPIC_TYPE_EXPOSE = 3;//曝光
    public static final int TOPIC_TYPE_GIFT = 4;//赠送
    public static final int TOPIC_TYPE_SHOW = 5;//show
    public static final int TOPIC_TYPE_AUCTION = 6;//拍卖
    public static final int TOPIC_TYPE_GOODS = 7;//普通商品
    public static final int TOPIC_TYPE_SCHOOL = 8;//学校，该类型可接受捐赠，受赠金额由主题管理员在公开监督下支配
    public static final int TOPIC_TYPE_AREA = 9;//地区，该类型可接受捐赠，受赠金额由主题管理员在公开监督下支配
    public static final int TOPIC_TYPE_INDUSTRY = 10;//行业，该类型可接受捐赠，受赠金额由主题管理员在公开监督下支配
    public static final int TOPIC_TYPE_USER_INFO = 11;//用户信息，用于检索用户信息，在注册的时候，生成信息保存进es,当更新用户信息的时候，同步更新es
    public static final int TOPIC_TYPE_OTHER = 12;//其他


    public static final String TOPIC_NAME = "topic";//在ES中保存的索引名是blog,所以这儿也是blog,后续在ES中修改后，应该改为topic

    public static final int TOPIC_STATUS_DELETE = 0;
    public static final int TOPIC_STATUS_NORMAL = 1;
    public static final int TOPIC_STATUS_REWARD_COMPLETE = 2;//主题状态：悬赏完成
    public static final int TOPIC_STATUS_REWARD_CANCEL = 3;//取消悬赏任务
    public static final int TOPIC_STATUS_REWARD_EXECUTING = 4;//悬赏执行中，已经确认了执行人选，也就是有悬赏任务得到了雇主的确认，其他人不能继续领取任务
    //主题的待审核状态，地区、行业、学校新发布进入审核状态
    public static final int TOPIC_STATUS_WAIT_VERIFY = 6;
    public static final int TOPIC_STATUS_VERIFY_FAIL = 7;//审核未通过
    //--------------------------------------高德云检索请求类型
    public static final int AMAP_SAERCH_TYPE_LOCAL = 0;//本地检索
    public static final int AMAP_SAERCH_TYPE_AROUND = 1;//周边检索
    public static final int AMAP_SAERCH_TYPE_STATISTICS = 2;//数据分布检索 省 城市 地区

    //----------------------------------------------订单状态
    public static final int ORDER_STATUS_CONFLICT = -1;//出现交易冲突
    public static final int ORDER_STATUS_INIT = 0;
    public static final int ORDER_STATUS_OFFER_SUCCESS = 1;
    public static final int ORDER_STATUS_OFFER_FAIL = 2;
    public static final int ORDER_STATUS_PAID = 3;//已支付
    public static final int ORDER_STATUS_EXPIRED = 4;//已过期
    public static final int ORDER_STATUS_BUYER_CANCELLED = 5;//已取消
    public static final int ORDER_STATUS_TRADE_SUCCESS = 6;//交易成功
    public static final int ORDER_STATUS_CANCEL_REFUND = 7;//买家取消退款
    public static final int ORDER_STATUS_REFUNDING = 8;//退款中 ing
    public static final int ORDER_STATUS_REFUND_COMPLETED = 9;//退款完成
    public static final int ORDER_STATUS_REFUSE_REFUND = 10;//拒绝退款
    public static final int ORDER_STATUS_SELLER_CANCELLED = 11;//卖家取消未付款订单
    public static final int ORDER_STATUS_SELLER_CANCEL_ON_PAID = 12;//卖家取消已付款订单
    public static final int ORDER_STATUS_AGREE_REFUND = 16;//同意退款
    public static final int ORDER_STATUS_SENT = 17;//已经发货

    //-------------------------------------提现订单状态
    public static final int ORDER_TRANSFER_APPLY_STATUS = 0;//提现申请
    public static final int ORDER_TRANSFER_SUCCESS_STATUS = 1;//提现成功
    public static final int ORDER_TRANSFER_ERROR_STATUS = 2;//提现异常订单


    //悬赏任务(订单) 状态
    //负无穷到20，表示任务已经完全活在取消，非执行中
    public static final int TASK_STATUS_INIT = 0;//初始化-刚生成
    public static final int TASK_STATUS_CONFIRM_FAIL = 1;//未获得雇主的确认
    public static final int TASK_STATUS_EMPLOYEE_CANCEL = 2;//雇佣者取消悬赏任务0
    public static final int TASK_STATUS_EMPLOYEE_AGREE_CANCEL = 3;//雇佣者同意取消悬赏任务
    public static final int TASK_STATUS_CHECK_SUCCESS = 4;//任务验收成功
    public static final int TASK_STATUS_EXPIRY_AUTO_CANCEL = 5;//到期自动取消
    public static final int TASK_STATUS_EXPIRY_AUTO_FINISH = 6;//到期自动结算
    public static final int TASK_STATUS_OTHER_ONE_COMPLETE = 7;//已经有其他人完成了悬赏任务
    public static final int TASK_STATUS_END = 8;//任务终止 雇主方拆回悬赏
    //大于20 的状态，表示任务还在执行中，
    public static final int TASK_STATUS_CONFIRM = 21;//悬赏任务得到 雇主确认
    public static final int TASK_STATUS_EMPLOYER_CANCEL = 22;//雇主取消悬赏任务
    public static final int TASK_STATUS_EMPLOYEE_REFUSE_CANCEL = 23;//雇佣者拒绝取消悬赏任务
    public static final int TASK_STATUS_APPLY_FINISH_TASK = 24;//雇佣者申请完成任务，等待雇主确认
    public static final int TASK_STATUS_EMPLOYER_REFUSE_FINISH_APPLY = 25;//雇主拒绝雇佣者的完成任务申请



    //充值 状态
    public static final int RECHARGE_STATUS_INIT = 0; //充值预支付状态
    public static final int RECHARGE_STATUS_SUCCESS = 1;//充值已经支付成功了
    public static final int RECHARGE_STATUS_ERROR = -1;//充值订单异常

    //------------------------------------------------广告位状态
    public static final int ADVERTISEMENT_STATUS_DELETE = -1;//广告位状态-已经删除
    public static final int ADVERTISEMENT_STATUS_NORMAL = 0;//广告位状态-正常状态
    public static final int ADVERTISEMENT_STATUS_REVOKE = 1;//保证金已退回


    public static final int ORDER_REFUND_STATUS_NOT_RECEIVED_REFUND_ALL = 0;//没有收到货全额退款,当卖家同意的时候，进行账单结算，交易结束
    public static final int ORDER_REFUND_STATUS_RECEIVED_REFUND_ALL = 1;//已经收到货全额退款,并且退货,当卖家同意的时候，通知买家退货
    public static final int ORDER_REFUND_STATUS_RECEIVED_REFUND_PART = 2;//已经收到货部分退款，不退货，当卖家同意的时候，进行账单结算，交易结束

    public static final int ORDER_SEND_STATUS_WAIT_SEND = 0;//未发货
    public static final int ORDER_SEND_STATUS_SENT = 1;//已发货
    public static final int ORDER_SEND_STATUS_RECEIVED = 2;//已收货


    //------------------------------------------------出价分类
    public static final int ORDER_TYPE_TO_ADVERTISEMENT = 0;//广告位出价，受益方是我们平台
    public static final int ORDER_TYPE_TO_AUCTION_TOPIC = 1;//拍卖商品出价，收益方是 拍卖发起人：卖家
    //-----------------------------------------------捐款

    // 捐款类型:用户捐给某个主题：带悬赏金、地区、学校、行业三种类型的主题，这样的捐款，由主题管理者决定用途，
    // 但是带悬赏金的捐赠，只有当有人领取悬赏金的时候，一并领取，除此之外， 主题发布者并不能决定受捐金额用在其他地方
    // 如果主题发布者删除主题，捐款返还给捐款的用户，捐款可主动撤销，捐款者能看到捐款用途
    @Deprecated
    public static final int DONATION_TYPE_TO_TOPIC = 1;//废弃

    public static final int DONATION_TYPE_TO_REWORD = 1;
    //捐款类型:捐给曝光主题，捐款不可撤回，捐款金额会直接存入曝光发起者的个人余额中
    public static final int DONATION_TYPE_TO_EXPOSURE = 3;

    //直播结束后，从收益中按收益比例生成的捐赠
    @Deprecated
    public static final int DONATION_TYPE_LIVE_PROFIT = 5;

    //转发捐赠过程中，分割捐赠以适应捐赠金额，分割后生成的新的捐赠
    @Deprecated
    public static final int DONATION_TYPE_TO_TOPIC_SPLIT = 6;

    //捐赠到学校
    public static final int DONATION_TYPE_TO_SCHOOL = 8;
    //捐赠到地区
    public static final int DONATION_TYPE_TO_AREA = 9;
    //捐赠到行业
    public static final int DONATION_TYPE_TO_INDUSTRY = 10;

    //捐款类型:捐给个人，捐款不可主动撤销，捐款者能看到捐款用途
    public static final int DONATION_TYPE_TO_PERSON = 30;

    //投广告位自动生成的捐赠，无法拆回
    public static final int DONATION_TYPE_ADVERTISEMENT = 31;

    //捐赠不可撤销
    public static final int DONATION_STATUS_COULD_NOT_REVOKE = 0;

    //捐赠可撤销
    public static final int DONATION_STATUS_COULD_REVOKE = 1;

    //捐赠主动拆回(捐赠人自己拆回)
    public static final int DONATION_STATUS_ACTIVE_REVOKE = 2;
    //捐赠已经转发
    public static final int DONATION_STATUS_FORWARD = 3;
    //捐赠被动拆回（悬赏类型主题拆回悬赏，被动拆回）
    public static final int DONATION_STATUS_PASSIVE_REVOKE = 4;

    //=================================用户分类========================================
    //临时用户资料
    public static final int USER_TYPE_TEMP = -1;

    //普通注册用户
    public static final int USER_TYPE_NORMAL = 0;
    //支付宝快捷登录用户
    public static final int USER_TYPE_ALI = 1;

    //------------------------------用户状态--------------------------------------------
    //普通用户状态
    public static final int USER_STATUS_NORMAL = 0;
    //用户隐藏手机号码不被搜索
    public static final int USER_STATUS_HIDE_PHONE = 1;


    //---------------------------------------------------评论类型
    //普通评论
    public static final int COMMENT_TYPE_NORMAL = 0;
    //子评论
    public static final int COMMENT_TYPE_CHILD = 1;
    // 子评论回复
    public static final int COMMENT_TYPE_CHILD_REPLY = 2;
    //footer
    public static final int COMMENT_TYPE_FOOTER = 3;

    public static final String BOTTOM_ITEM_NAME_EDIT = "编辑";
    public static final String BOTTOM_ITEM_NAME_MANAGE_DONATION = "管理捐赠";
    public static final String BOTTOM_ITEM_NAME_ACCUSATION = "举报";
    public static final String BOTTOM_ITEM_NAME_DELETE = "删除";
    public static final String BOTTOM_ITEM_NAME_REVOKE_REWARD = "撤回悬赏";
    public static final String BOTTOM_ITEM_EXIT_MANAGER = "放弃管理职务";
    public static final String BOTTOM_ITEM_SURRENDER_MANAGER = "移交管理职务";
    public static final int ORIGINAL_PAY_PASSWORD_ = -1;


    //--------------------------------------------- 文件类型
    public static final int MY_FILE_TYPE_PICTURE = 0;
    public static final int MY_FILE_TYPE_VIDEO = 1;


    //-----------------------------------------------
    public static final int ITEM_TYPE_NO_DATA = -1;
    public static final int ITEM_TYPE_REQUEST_ERROR = -2;
    public static final int ITEM_TYPE_NORMAL = 0;


    //--------------------------------------------- 粉丝关注相关
    public static final String USER_FOLLOW_LIST = "USER_FOLLOW_LIST:"; //关注列表
    public static final String USER_FANS_LIST = "USER_FANS_LIST:"; //粉丝列表

    //---------------------------------HTTP响应类型
    public static final int RETURN_HTTP_STATUS_TRANSFER_ORDER_NOT_EXIST = 202;//表示提现订单不存在
    public static final int ALI_IM_LOGIN_REPEAT = -4;

    //*******************************  IM 消息总分类********************************************

    //一对多消息 群消息
    public static final int TRIBE_MESSAGE = 0;
    //一对一消息
    public static final int C2C_MESSAGE = 1;
    //离线p2p消息 前端应该序列化为集合
    public static final int MULTIPLE_OFF_LINE_MESSAGE = 2;
    //通知消息
    public static final int NOTIFY_MESSAGE = 3;
    //聊天室消息
    public static final int LIVE_ROOM_MESSAGE = 4;
    //账户消息
    public static final int ACCOUNT_MESSAGE = 5;

    //===========================通知消息大分类 ==========================================
    // 一个大分类型对应一种会话
    //系统通知
    public static final int NOTIFY_MESSAGE_SYSTEM = 100;
    //联系人通知消息
    public static final int NOTIFY_MESSAGE_CONTACT = 101;
    //广告位通知消息
    public static final int NOTIFY_MESSAGE_ADVERTISEMENT = 102;
    //悬赏任务通知消息
    public static final int NOTIFY_MESSAGE_TASK = 103;
    //权限移交通知消息
    public static final int NOTIFY_MESSAGE_TRANSFER_AUTHORITY = 104;
    //商品订单通知消息（备用）
    public static final int NOTIFY_MESSAGE_ORDER = 105;
    //拍卖类型通知消息（备用）
    public static final int NOTIFY_MESSAGE_AUCTION = 106;


    //消息的类型
//============================ c2c 聊天消息细分类===================================
    //文本
    public static final int IM_TYPE_TEXT = 0;
    //图片
    public static final int IM_TYPE_IMAGE = 1;
    //语音
    public static final int IM_TYPE_AUDIO = 2;
    //视频
    public static final int IM_TYPE_VIDEO = 3;
    //位置
    public static final int IM_TYPE_GEO = 5;
    //红包
    public static final int IM_TYPE_COUPON = 6;
    //转账
    public static final int IM_TYPE_TRANSFER = 7;
    //消息已读回值
    public static final int IM_TYPE_MESSAGE_READ_ACK = 8;
    //推送消息
    public static final int IM_TYPE_PUSH = 9;


    //============================ 直播间消息细分类===================================
    // 进直播间通知
    public static final int IM_TYPE_JOIN_LIVE_ROOM = 100;
    //离开直播间通知
    public static final int IM_TYPE_QUIT_LIVE_ROOM = 101;
    //直播间普通聊天消息
    public static final int IM_TYPE_LIVE_ROOM_CHART_MESSAGE = 102;
    //直播间成员被剔除
    public static final int IM_TYPE_LIVE_ROOM_MEMBER_BE_REMOVE = 103;
    // 临时用户进直播间通知
    public static final int IM_TYPE_JOIN_LIVE_ROOM_TEMP = 104;
    //直播间彈幕消息
    public static final int IM_TYPE_LIVE_ROOM_CHART_BARRAGE_MESSAGE = 105;
    // 切换账户后进直播间通知
    public static final int IM_TYPE_JOIN_LIVE_ROOM_CHANGE_ACCOUNT = 106;

    //----------------------------------直播间推送消息
    public static final int LIVE_ROOM_PUSH_MESSAGE_NORMAL = 0;
    public static final int LIVE_ROOM_PUSH_MESSAGE_LIVE_START = 1;
    public static final int LIVE_ROOM_PUSH_MESSAGE_LIVE_STOP = 2;
    public static final int LIVE_ROOM_PUSH_MESSAGE_RECEIVED_REWARD = 3;
    public static final int LIVE_ROOM_PUSH_MESSAGE_RECEIVED_MULCT = 4;
    public static final int LIVE_ROOM_PUSH_MESSAGE_RECEIVED_OFFER = 5;
    public static final int LIVE_ROOM_PUSH_MESSAGE_RECEIVED_DONATION = 6;
    public static final int LIVE_ROOM_PUSH_MESSAGE_ADVERTISEMENT_CHANGE = 7;
    public static final int LIVE_ROOM_PUSH_MESSAGE_ADVERTISEMENT_MAX_PRICE_CHANGE = 8;
    public static final int LIVE_ROOM_PUSH_MESSAGE_RECEIVED_FUND_COUPON = 9;
    public static final int LIVE_ROOM_PUSH_MESSAGE_RECEIVED_COUPON_WAS_EMPTY = 10;
    //移交主题管理推送消息给旧群
    public static final int LIVE_ROOM_PUSH_MESSAGE_MANAGER_CHANGE = 11;
    //管理员移除通知
    public static final int LIVE_ROOM_PUSH_MESSAGE_MANAGER_REMOVE = 12;
    //禁止直播
    public static final int LIVE_ROOM_PUSH_MESSAGE_FORBID_LIVE = 13;
    //开放直播
    public static final int LIVE_ROOM_PUSH_MESSAGE_OPEN_LIVE = 14;


    //消息接收完成回执 （客户端发给服务端）
    public static final int IM_TYPE_RECEIVED_ACK = 6;
    //消息发送完成回执  （服务端发送客户端）
    public static final int IM_TYPE_SEND_ACK = 7;
    //心跳
    public static final int IM_TYPE_HEAT_BRAT = 8;
    //重连
    public static final int IM_TYPE_CONNECT = 9;
    //登录
    public static final int IM_TYPE_LOGIN = 10;
    //离线消息接收完成回执  (客户端发给服务端)
    public static final int IM_TYPE_OFF_LINE_RECEIVED_ACK = 11;

    //重复登录
    public static final String REPEAT_LOGIN = "repeatLogin";
    //账户被锁/被禁用
    public static final String ACCOUNT_LOCK = "accountLock";


    //把消息发给系统，c2s
    public static final String SEND_MESSAGE_TO_SYSTEM = "0";

    //消息不可见 关乎前端 未读消息小红点的计算
    public static final int MESSAGE_INVISIBLE = 0;
    //消息可见   关乎前端 未读消息小红点的计算
    public static final int MESSAGE_VISIBLE = 1;

    //消息未读
    public static final int MESSAGE_READ_STATE_UNREAD = 0;
    //消息已读
    public static final int MESSAGE_READ_STATE_READ = 1;

    //消息发送状态
    //发送失败
    public static final int IM_SEND_STATE_FAIL = 0;
    //发送成功
    public static final int IM_SEND_STATE_SUCCESS = 1;
    //发送中
    public static final int IM_SEND_STATE_SENDING = 2;
    //初始化
    public static final int IM_SEND_STATE_INIT = 3;

    //文件类型信息 下载状态
    //未下载
    public static final int MESSAGE_DOWNLOAD_STATE_INIT = 0;
    //下载中
    public static final int MESSAGE_DOWNLOAD_STATE_LOADING = 1;
    //下载成功
    public static final int MESSAGE_DOWNLOAD_STATE_SUCCESS = 2;
    //下载失败
    public static final int MESSAGE_DOWNLOAD_STATE_FAIL = 3;

    //文件类型消息  上传状态
    //未上传
    public static final int MESSAGE_UPLOAD_STATE_INIT = 0;
    //上传中
    public static final int MESSAGE_UPLOAD_STATE_UPLOADING = 1;
    //上传成功
    public static final int MESSAGE_UPLOAD_STATE_SUCCESS = 2;

    //上传失败
    public static final int MESSAGE_UPLOAD_STATE_FAIL = 3;


    public static final int LIVE_ROOM_STATUS_FORBID = -1;//禁止直播
    public static final int LIVE_ROOM_STATUS_STARTED = 1;//开始直播/直播中 非拍卖模式
    public static final int LIVE_ROOM_STATUS_STOPPED = 0;//直播停止
    public static final int LIVE_ROOM_STATUS_AUCTION = 2;// 开始直播/直播中 拍卖模式

    //===============================登录状态=======================================
    //未登录
    public static final int LOGIN_STATUS_NOT_LOGIN = 0;
    //登录中...
    public static final int LOGIN_STATUS_LOGINING = 1;
    //登录成功
    public static final int LOGIN_STATUS_LOGIN_SUCCESS = 2;
    //登录失败
    public static final int LOGIN_STATUS_LOGIN_FAIL = 3;
    //已经退出
    public static final int LOGIN_STATUS_LOGOUT = 4;

    public static final String EXTRA_TOPIC_DELETE = "EXTRA_TOPIC_DELETE";
    public static final String EXTRA_TOPIC_CHANGE = "EXTRA_TOPIC_CHANGE";
    public static final String EXTRA_TOPIC_BACK_OUT = "EXTRA_TOPIC_BACK_OUT";//主题下架，比如是悬赏类型主题，取消悬赏后，不应该再显示到最热主题或者附近主题的列表中，如果是个人主题发布记录页面，则不用做任何处理。
    public static final String EXTRA_TOPIC_TRANSFER = "EXTRA_TOPIC_TRANSFER";//主题管理员移交，移交后，该主题不应该再显示到个人主题发布记录页面，应该删除，其他展示页面不做任何处理，和上面的“下架”处理刚好相反。

    //=======================会话类型==========================

    //用户与用户发消息会话
    public static final int CONVERSATION_TYPE_C2C = 0;
    //联系人通知会话
    public static final int CONVERSATION_TYPE_CONTACT = 1;
    //悬赏任务通知会话
    public static final int CONVERSATION_TYPE_TASK = 2;
    //广告位通知会话
    public static final int CONVERSATION_TYPE_ADVERTISEMENT = 3;
    //系统通知
    public static final int CONVERSATION_TYPE_SYSTEM = 4;
    //提现通知会话
    public static final int CONVERSATION_TYPE_WITHDRAW = 5;
    //主题管理权限移交
    public static final int CONVERSATION_TYPE_TRANSFER_AUTHORITY = 6;
}
